<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        span{
        font-size: 30px;
        text-align: center;
        }
        #app{
            font-size: 30px;
            margin: 0  auto;
            text-align: center;
            margin-top: 15%;
        }
    </style>
</head>
<body>
    <div id="app">
        <div>{{message}}</div>
        <span :title="message">悬停查看内容</span>
       
    </div>
</body>
<script src="https://unpkg.com/vue@next"></script>
<script>
   const AttributeBinding={
       data(){
           return{
               message:'现在的时间是'+new Date().toLocaleDateString()
           }

       }
      
   } 
   Vue.createApp(AttributeBinding).mount("#app")
   
</script>
</html>